﻿using DeviceMaintainGIS.BLL.Dev;
using DeviceMaintainGIS.Model;
using DeviceMaintainGIS.Model.DevInfo;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;

namespace DeviceMaintainGIS.Controllers
{
    /// <summary>
    /// 设备
    /// </summary>
    public class DevController : ApiController
    {


        /// <summary>
        /// 根据条件查询设备信息
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        public ReturnListVM<DevInfoModel> Post(DevRequest request)
        {
            return new DevService().GetDevList(request);
        }


    }
}
